package com.xqls.biz;

import com.xqls.bean.DictionaryBean;
import com.xqls.dal.model.Dictionary;

import java.util.List;
import java.util.Map;

public interface DictionaryBiz {

    public boolean editDictionary(DictionaryBean dictionary);

    public Map<Integer,String> queryDictionaryByParent( Integer parent);

    public Map<Integer,Map<Integer, String>> queryDictionaryWithChildren( );

    public boolean deleteDictionary( Integer ids);

    public List<DictionaryBean> queryAllDictionary( );

	public List<Dictionary> getListByKeys(List<Integer> keyList);
}